<div class="panel panel-default">
    <div class="panel-heading">查看评论</div>
    <div class="panel-body">
        {if condition="isset($comments)"}
        {volist name="comments" id="comment"}
            <div class="row">
                <div class="col-md-1">
                    <img src="{$comment->user->headimg}" alt="用户头像">
                </div>
                <div class="col-md-1">
                    {$comment->user->nickname}
                </div>
                <div class="col-md-10">{$comment->content}</div>
            </div>
        {/volist}
        {/if}
    </div>
</div>